.root {
	position: relative;
	display: inline-block;
	margin-left: 1px;
	margin-right: 1px;
}

.textarea {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	resize: none;
	outline: 0;
	border: none;
	overflow: hidden;

	box-sizing: border-box;

	width: 100%;

	white-space: pre-wrap;
	word-break: break-all;
	margin: 0px;
	padding: 0px;

	line-height: inherit;
}

.textarea:empty {
	min-width: 4rem;
}

.textareaEmpty {
	min-width: 4rem;
}

.pre {
	position: relative;
	display: inline-block;
	visibility: hidden;
	pointer-events: none;

	width: 100%;

	margin-bottom: 0px;

	box-sizing: border-box;

	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	font-family: inherit;
	line-height: inherit;

	overflow: hidden;

	margin: 0px;
	padding: 0px;
}

.div {
	position: absolute;
	display: inline-block;
	left: 0;
	top: 0;
	height: 100%;
	resize: none;
	outline: 0;
	overflow: hidden;

	width: 100%;
	cursor: text;
	user-select: none;
	box-sizing: border-box;

	white-space: pre-wrap;
	word-break: break-all;

	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;

	font-family: inherit;
	line-height: inherit;
}

.div:empty {
	min-width: 6rem;
}

.divEmpty {
	min-width: 6rem;
}

.div:empty::before {
	content: "双击输入文本";
	color: gray;
}
